package com.aptech.daos;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractFactory entity provides the base persistence definition of the
 * Factory entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractFactory implements java.io.Serializable {

	// Fields

	private Integer factoryId;
	private Company company;
	private String factoryName;
	private String description;
	private Set wareHouses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractFactory() {
	}

	/** minimal constructor */
	public AbstractFactory(Integer factoryId, Company company,
			String factoryName) {
		this.factoryId = factoryId;
		this.company = company;
		this.factoryName = factoryName;
	}

	/** full constructor */
	public AbstractFactory(Integer factoryId, Company company,
			String factoryName, String description, Set wareHouses) {
		this.factoryId = factoryId;
		this.company = company;
		this.factoryName = factoryName;
		this.description = description;
		this.wareHouses = wareHouses;
	}

	// Property accessors

	public Integer getFactoryId() {
		return this.factoryId;
	}

	public void setFactoryId(Integer factoryId) {
		this.factoryId = factoryId;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public String getFactoryName() {
		return this.factoryName;
	}

	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getWareHouses() {
		return this.wareHouses;
	}

	public void setWareHouses(Set wareHouses) {
		this.wareHouses = wareHouses;
	}

}